


<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico"> 
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <style>
      #store tbody tr:nth-child(odd){background-color: #f7f3f7}
    </style>
</head>

<body style="padding:3px;overflow-x: auto;">
    <!-- 标题 -->
    <div class="page-heade">
      <h2 class="title_color text-center">门店条码报表</h2>
    </div>
    <!-- 标题 -->
    <div>
     <form action="#" method="get" id="form_check"  class="form-inline">
      <input type="hidden" value='{$page}' name="page" id="page-go"/>
                      <input type="hidden" value='{$list}' name="list" id="list-go"/>
       <table class="row-margin-top tab-content table-bordered table" border="1" style="margin:0">
          <tr>
      		<td style="min-width: 120px;width: 120px" class="text-right"><label for="" class="form-label">产品编码：</label></td>
            <td> 
            <input type="text" class="form-control" name="prono" value="{$data.prono}">
         </td>
       		<td style="min-width: 120px;width: 120px" class="text-right"><label for="" class="form-label">产品名称：</label></td>
           <td><input type="text" class="form-control" name="proname" value="{$data.proname}"></td>
          <td style="min-width: 120px;width: 120px" class="text-right"><label for="" class="form-label">产品条形码：</label></td>
           <td><input type="text" class="form-control" name="prosku" value="{$data.prosku}"></td>
   		    </tr>
           <tr>
          <td class="text-right"><label for="" class="form-label">分区：</label></td>
            <td> 
            <input type="text" class="form-control" name="fenqu" value="{$data.fenqu}">
         </td>
          <td class="text-right"><label for="" class="form-label">省份：</label></td>
           <td><input type="text" class="form-control" name="sheng" value="{$data.sheng}"></td>
          <td class="text-right"><label for="" class="form-label">城市：</label></td>
           <td><input type="text" class="form-control" name="shi" value="{$data.shi}"></td>
          </tr>
            <tr>
          <td class="text-right"><label for="" class="form-label">品牌：</label></td>
            <td> 
            <input type="text" class="form-control" name="brand" value="{$data.brand}">
         </td>
          <td class="text-right"><label for="" class="form-label">品类：</label></td>
           <td><input type="text" class="form-control" name="category" value="{$data.category}"></td>
          <td class="text-right"><label for="" class="form-label">系列：</label></td>
           <td><input type="text" class="form-control" name="series" value="{$data.series}"></td>
          </tr>
        	<tr>
            <td class="text-right"><label for="" class="form-label">SKU：</label></td>
           <td><input type="text" class="form-control" name="sku" value="{$data.sku}"></td>
             <td class="text-center" colspan="4">
              <button class="btn btn-info query"  type="button" id="check">查询</button>
              <button class="btn btn-info emptyIf" type="button" id="clear_check">清空查询条件</button>
               <button class="btn btn-info lendExcel" type="button">导出Excel</button>
            </td>
        </tr>
      </table>

     <table class="table table-bordered table-hover text-center bud_hei" id="store">
          <tr class="info">
            <th class="text-center">No.</th>
            <th class="text-center">产品编码</th>
            <th class="text-center">产品名称</th>
            <th class="text-center">产品条形码</th>
            <th class="text-center">重量(克)</th>
            <th class="text-center">箱包装</th>
            <th class="text-center">单位</th>
            <th class="text-center">正常门店数</th>
            <th class="text-center">锁码门店数</th>
            <th class="text-center">清场门店数</th>
            <th class="text-center">未进场门店</th>
            <th class="text-center">备注</th>
          </tr>
          <tbody style="border:0">
          {volist name="apply" id="vo"}
            <tr>
              <td>{$i}</td>
              <td>{$vo.pro_no}</td>
              <td>{$vo.pro_name}</td>
              <td>{$vo.pro_sku}</td>
              <td>{$vo.weight}</td>
              <td class="ObjectNum">{$vo.box_num}</td>
              <td>{$vo.unit}</td>
              <td>{$vo.zc}</td>
              <td>{$vo.sm}</td>
              <td>{if $vo.qc>0}-{/if}{$vo.qc}</td>
              <td>{$vo.wjc}</td>
              <td>{$vo.remark}</td>
            </tr>
             {/volist}
          </tbody>
      </table>
        <h5 class="text-center">
            总共有{$sum}条记录，第{$page}/{$maxpage}页，当前页：<input id="page" type="text" style="width: 70px;" value="{$page}"  /><span id="gopage">GO</span>&nbsp;&nbsp;<span id="fistpage">首页</span>&nbsp;&nbsp; 每页显示
           <select id="pagesize">
                        <option value='20' {if condition="$list eq 20"}selected{/if}>20条</option>
                        <option value='40'{if condition="$list eq 40"}selected{/if}>40条</option>
                        <option value='50'{if condition="$list eq 50"}selected{/if}>50条</option>

            </select>
        </h5>
</form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script><!-- 
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script> -->
      <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
    <script src="__STATIC__/layout/js/plugins/datapicker/bootstrap-datepicker.js"></script>
    <script src="__STATIC__/layout/js/common.js"></script>
      <script>
      $(".lendExcel").click(function(){
        window.open("{:url('tiaomadc')}")
      })
       //查询
       $("#pagesize").change(function(){
            $("#page-go").val(1);
            $("#list-go").val($(this).val());
            document.getElementById("form_check").submit();
        })
        $("#gopage").click(function(){
             $("#page-go").val($("#page").val());
              document.getElementById("form_check").submit();
        })
        $("#page").keyup(function(){

            if(isNaN(parseInt($(this).val()))){
                $(this).val(1);
            }else{
                $(this).val(parseInt($(this).val()));
            }
            
        })
        $("#fistpage").click(function(){
              $("#page-go").val(1);
             document.getElementById("form_check").submit();
        })
        $("#check").click(function(){
              $("#page-go").val(1);
              document.getElementById("form_check").submit();
        })
        $("#clear_check").click(function(){
            $("input[type='text']").val("");
            $("select").val(0);
            $("#page-go").val(1);
             document.getElementById("form_check").submit();
        })
                $(document).ready(function(){
                    var $ObjectNum =$(".ObjectNum");
                   toNum($ObjectNum);
                 })
        </script>
        
</body>

</html>
